package com.wudd.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.wudd.common.bean.response.ResponseVO;

@RestController
@RequestMapping("/userInfo")
public class UserInfoController {
	
//	@Autowired
//    private UserInfoManage userInfoManage;
	
	@RequestMapping("/getUserNameById")
	public Object getUserNameById(String userId){
		// 业务查询。。。
		 
		// 模拟链接超时
//		try {
//			Thread.sleep(10*1000);
//		} catch (InterruptedException e) {
//			// TODO Auto-generated catch block
//			e.printStackTrace();
//		}
		return ResponseVO.successWithData("张三");
	}
}
